<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>'authorMgNovel.jsp'</title>
</head>

<body>
	<div align="center">
		<c:if test="${workssize<1 }">
			<h3>您暂无作品</h3>
		</c:if>
		<c:if test="${workssize>0 }">
		<span><font size="5">您的作品</font><br/></span>
		<span>========================</span>
			<table>
				
				<c:forEach var="novel" items="${works }">
					<tr>
						<td>${novel.name }&nbsp;</td>
						<td><a href="${pageContext.request.contextPath }/ShowNovelInfo?novelId=${novel.id}">修 改</a></td>
						<td><a href="${pageContext.request.contextPath }/author/AddNewChacter?nid=${novel.id}">新 章</a></td>
					</tr>
				</c:forEach>
			</table>
		<span>========================</span>
		</c:if>
	</div>
	<div align="center"><a href="${pageContext.request.contextPath }/author/AddNewNovelUIServlet">发表新书</a></div>
</body>
</html>
